home *** CD-ROM | disk | FTP | other *** search
- TRMM(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSTTRRMMMM, DDTTRRMMMM, CCTTRRMMMM, ZZTTRRMMMM - Multiplies a real or complex general
- matrix by a real or complex triangular matrix
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSTTRRMMMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- Double precision
-
- CCAALLLL DDTTRRMMMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- Complex
-
- CCAALLLL CCTTRRMMMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- Double complex
-
- CCAALLLL ZZTTRRMMMM ((_s_i_d_e,, _u_p_l_o,, _t_r_a_n_s_a,, _d_i_a_g,, _m,, _n,, _a_l_p_h_a,, _a,, _l_d_a,, _b,, _l_d_b))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSTTRRMMMM and DDTTRRMMMM multiply a real general matrix by a real triangular
- matrix.
-
- CCTTRRMMMM and ZZTTRRMMMM multiply a complex general matrix by a complex
- triangular matrix.
-
- These routines perform one of the matrix-matrix operations:
-
- B <- alpha op(A)B
-
- or
-
- B <- alpha B op(A)
-
- where _a_l_p_h_a is a scalar; _B is an _m-by-_n matrix; _A is either a unit or
- nonunit upper or lower triangular matrix, and _o_p(_A) is one of the
- following:
-
- * _o_p(_A) = _A
- _T
- * _o_p(_A) = _A
- _H
- * _o_p(_A) = _A (CCTTRRMMMM and ZZTTRRMMMM only)
-
- where
- _T
- * _A is the transpose of _A
- _H
- * _A is the conjugate transpose of _A.
-
- These routines have the following arguments:
-
- _s_i_d_e Character*1. (input)
- Specifies whether _o_p(_A) multiplies _B from the left or right,
- as follows:
-
- _s_i_d_e = 'L' or 'l': B <- alpha op(A)B
-
- _s_i_d_e = 'R' or 'r': B <- alpha B op(A)
-
- _u_p_l_o Character*1. (input)
- Specifies whether matrix _A is an upper or lower triangular
- matrix, as follows:
-
- _u_p_l_o = 'U' or 'u': _A is an upper triangular matrix.
- _u_p_l_o = 'L' or 'l': _A is a lower triangular matrix.
-
- _t_r_a_n_s_a Character*1. (input)
- Specifies the form of _o_p(_A) to be used in the matrix
- multiplication, as follows:
-
- _t_r_a_n_s_a = 'N' or 'n': _o_p(_A) = _A
-
- _T
- _t_r_a_n_s_a = 'T' or 't', _o_p(_A) = _A
-
- _T
- _t_r_a_n_s_a = 'C' or 'c': _o_p(_A) = _A (SSTTRRMMMM, DDTTRRMMMM),
- _H
- or _o_p(_A) = _A (CCTTRRMMMM, ZZTTRRMMMM)
-
- _d_i_a_g Character*1. (input)
- Specifies whether _A is unit triangular, as follows:
-
- _d_i_a_g = 'U' or 'u': _A is assumed to be unit triangular.
- _d_i_a_g = 'N' or 'n': _A is not assumed to be unit triangular.
-
- _m Integer. (input)
- Specifies the number of rows in _B. _m must be >= 0.
-
- _n Integer. (input)
- Specifies the number of columns in _B. _n must be >= 0.
-
- _a_l_p_h_a Scalar factor. (input)
- SSTTRRMMMM: Real.
- DDTTRRMMMM: Double precision.
- CCTTRRMMMM: Complex.
- ZZTTRRMMMM: Double complex.
- When _a_l_p_h_a is 0, _a is not referenced and _b need not be set
- before entry.
-
- _a Array of dimension (_l_d_a,_k). (input)
- SSTTRRMMMM: Real array.
- DDTTRRMMMM: Double precision array.
- CCTTRRMMMM: Complex array.
- ZZTTRRMMMM: Double complex array.
-
- When _s_i_d_e = 'L' or 'l', _k is _m; when _s_i_d_e = 'R' or 'r', _k is
- _n. Contains the matrix _A.
-
- Before entry with _u_p_l_o = 'U' or 'u', the leading _k-by-_k
- upper triangular part of array _a must contain the upper
- triangular matrix. The strictly lower triangular part of _a
- is not referenced.
-
- Before entry with _u_p_l_o = 'L' or 'l', the leading _k-by-_k
- lower triangular part of array _a must contain the lower
- triangular matrix. The strictly upper triangular part of _a
- is not referenced.
-
- When _d_i_a_g = 'U' or 'u', the diagonal elements of _a are not
- referenced, but they are assumed to be unity.
-
- _l_d_a Integer. (input)
-
- Specifies the first dimension of _a as declared in the
- calling program.
- When _s_i_d_e = 'L' or 'l', _l_d_a >= MMAAXX(1,_m). When _s_i_d_e = 'R' or
- 'r', _l_d_a >= MMAAXX(1,_n).
-
- _b Array of dimension (_l_d_b,_n). (input and output)
- SSTTRRMMMM: Real array.
- DDTTRRMMMM: Double precision array.
- CCTTRRMMMM: Complex array.
- ZZTTRRMMMM: Double complex array.
- Contains the matrix _B.
-
- Before entry, the leading _m-by-_n part of array _b must
- contain matrix _B. On exit, the transformed matrix
- overwrites array _b.
-
- _l_d_b Integer. (input)
- Specifies the first dimension of _b as declared in the
- calling program. _l_d_b >= MMAAXX(1,_m).
-
- NNOOTTEESS
- These routines are Level 3 Basic Linear Algebra Subprograms (Level 3
- BLAS).
-
- SSEEEE AALLSSOO
- This man page is available only online.
-